package com.guodaxia.gzh.util;

import com.alibaba.fastjson.JSON;

/**
 * @author guojianquan
 * @date 2024/12/12 14:31
 */
public class JSONUtil {

    public static  <T> T toObject(String input, Class<T> clazz) {
        T t = JSON.parseObject(input, clazz);
        return t;
    }
}
